package com.yunhe.controller;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yunhe.bean.Skill;
import com.yunhe.iservice.SkillIservice;


/**
 * 技能领域模块
 * 
 * @author XSH
 *
 */
@Controller
@RequestMapping("/skill")
public class SkillController {
	
	@Autowired
	@Qualifier("skillIserviceImpl")
	private SkillIservice skillIservice;
	
	@RequestMapping("/skillshow")
	@ResponseBody
	public List<Skill> skillshow(HttpServletRequest request,HttpServletResponse response){
		
		List<Skill> skill=skillIservice.getSkill();
		return skill;	
	}
	

}
